package model

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50)"`
	Password string `gorm:"type:varchar(50)"`
}
type Article struct {
	gorm.Model
	Author     string `gorm:"type:varchar(50)"`
	Time       string `gorm:"type:varchar(50)"`
	Title      string `gorm:"type:varchar(50)"`
	CommentNum string `gorm:"type:varchar(50)"`
}
